package com.company.manage.system.utils;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * Created by HuangYong on 2016/1/23.
 * desc:扩展添加验证码-继承用户验证类
 */
public class UsernamePasswordCaptchaToken extends UsernamePasswordToken {
    private static final String TAG = "UsernamePasswordCaptchaToken";


    private static final long serialVersionUID = -811000785068381461L;

    private String captcha;

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }

    public UsernamePasswordCaptchaToken() {
        super();
    }

    public UsernamePasswordCaptchaToken(String username, char[] password,
                                        boolean rememberMe, String host,String captcha) {
        super(username, password, rememberMe, host);
        this.captcha = captcha ;
    }
}